package com.magenta.maxoptra.gis.commons;

import java.text.DateFormat;
import java.util.TimeZone;

/**
 * User: ivictus
 * Date: 05.08.2010
 * Time: 12:31:52
 * Project: maxoptra-1.3
 */

/**
 * Translator interface.
 */
public interface Translator {
    /**
     * @param in input string.
     * @return translate result or null if translation not success.
     */
    String translate(String in);

    /**
     * Setup date format.
     * @see java.text.SimpleDateFormat
     * @param fmt formate of date time.
     */
    void setDateFormat(String fmt);

    /**
     * Setup time zone for all dates.
     * @param tz time zone.
     */
    void setTimeZone(TimeZone tz);
}
